import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueLazyload from 'vue-lazyload'
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);
Vue.config.productionTip = false
 
// 造第一个事件总线 eventbus 
Vue.prototype.eventbus =new Vue()
Vue.prototype.eventbus2 =new Vue()

// 配置懒加载插件

Vue.use(VueLazyload,{
  // 第一种用gif图
  // loading:'https://ftp.bmp.ovh/imgs/2021/03/e75890093bd57098.gif'
  loading:'/svg/vlazy.svg'
})
 

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
